<?php if (!defined('THINK_PATH')) exit();?><!--<meta http-equiv="refresh" content="1"/>-->
<link href="/Public/Admin/css/same.css"  type="text/css" rel="stylesheet"/>
<script src="/Public/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<link href="/Public/css/bootstrap.css"  type="text/css" rel="stylesheet"/>
<script src="/Public/js/layer/layer.js" type="text/javascript"></script>
<script src="/Public/js/bootstrap.js" type="text/javascript"></script>
<script src="/Public/Admin/js/TradeInfo.js" type="text/javascript"></script>
<div class="a-main-left-content">
    <div class="a_con_title">
        <h4>借阅信息管理</h4>
    </div>
    <div class="a_title_tip">
        <img class="a_record_icon" src="/Public/img/record_01.jpg"/>
        <span class="a_record_news">列表信息为完成借阅的历史信息。</span>
    </div>

    <div class="read_type_box">
        <div class="trade_box">
            <?php if(is_array($_getAllTrueBorrowInfo)): $i = 0; $__LIST__ = $_getAllTrueBorrowInfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="borrow_if_box trade_height">
                    <div class="borrow_if_span">
                        <span>条形码：</span>
                        <?php if(is_array($_getAllBookInfo)): $i = 0; $__LIST__ = $_getAllBookInfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$fo): $mod = ($i % 2 );++$i;?><span>
                                <?php if($vo['book_id'] == $fo['book_id']): ?><span><?php echo ($fo['book_barcode']); ?></span><?php endif; ?>
                            </span><?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                    <div class="borrow_if_info">
                        <?php if(is_array($_getAllBookInfo)): $i = 0; $__LIST__ = $_getAllBookInfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$zo): $mod = ($i % 2 );++$i; if($vo['book_id'] == $zo['book_id']): ?><span>《<?php echo ($zo['book_name']); ?>》</span><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                        <span>借阅期限：</span>
                        <span><?php echo (date('Y-m-d H:i:s',$vo['borrow_time'])); ?></span>
                        <span>-</span>
                        <span><?php echo (date('Y-m-d H:i:s',$vo['borrow_backtime'])); ?></span>
                        <span>状态：</span>
                        <span style="color: #009f95">已归还</span>
                    </div>
                    <div class="borrow_if_info" id="borrow_top">
                        <?php if(is_array($_getAllUserInfo)): $i = 0; $__LIST__ = $_getAllUserInfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$so): $mod = ($i % 2 );++$i; if($vo['u_id'] == $so['u_id']): if(is_array($_getAllReadType)): $i = 0; $__LIST__ = $_getAllReadType;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ao): $mod = ($i % 2 );++$i; if($so['u_type_id'] == $ao['u_type_id']): ?><span><?php echo ($ao['u_type_name']); ?>：</span><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                                <span><?php echo ($so['real_name']); ?></span>
                                <span>身份证号码：</span>
                                <span><?php echo ($so['real_number']); ?></span>
                                <span style="color: #255625">确认者名称：</span>
                                <?php if(is_array($_getAdminAllInfo)): $i = 0; $__LIST__ = $_getAdminAllInfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$wo): $mod = ($i % 2 );++$i; if($vo['a_id'] == $wo['a_id']): ?><span style="color: #255625"><?php echo ($wo['a_name']); ?></span><?php endif; endforeach; endif; else: echo "" ;endif; endif; endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                </div><?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
    </div>
</div>